<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="../common/jspcommon.jsp"%>
<script type="text/javascript">
<!--
	$(function() {
		$.metadata.setType("attr", "validate");
		$("#search_friend_email_form").validate({
			submitHandler : function() {
				searchFriendEmail();
			}
		});
		$("#search_friend_doorplate_form").validate({
			submitHandler : function() {
				searchFriendDoorplate();
			}
		});
		initProCityDis("province", "city", "district");
		initProCityDis("birthPro", "birthCity", "birthDic");
	});
//-->
</script>
<div class="h_newNews_box">
	<div class="h_newNews_text" id="con_newNews_1" style="display: block;">
		<div class="find_box">
			<table>
				<tr>
					<td class="PI_text">邮箱：</td>
					<td><input class="h_find_comInput" type="text" id="email"
						name="email" /> <label id="email_error" for="email"
						style="display: none;" class="error">请填写邮箱</label></td>
					<td>
						<div class="h_button ml10" onclick="searchFriendEmail();">
							<strong>查 找</strong>
						</div></td>

				</tr>
				<tr>
					<td class="PI_text">门牌号：</td>
					<td><input class="h_find_comInput" type="text" id="doorplate"
						name="doorplate" /> <label id="doorplate_error" for="doorplate"
						style="display: none;" class="error">请填写门牌号</label></td>
					<td>
						<div class="h_button ml10" onclick="searchFriendDoorplate();">
							<strong>查 找</strong>
						</div></td>
				</tr>
				<tr>
					<td class="PI_text">标签：</td>
					<td><input class="h_find_comInput" type="text" id="search_tag"
						name="search_tag" />
						<div style="color: red; display: inline;" id="error_search_tag"></div>
					</td>
					<td>
						<div class="h_button ml10" onclick="searchFriendTag();">
							<strong>查 找</strong>
						</div>
					</td>
				</tr>
			</table>
		</div>
	</div>
	<div class="h_newNews_text" id="con_newNews_2">
		<div class="find_box">
			<table>
				<tr>
					<td class="PI_text">家昵称：</td>
					<td><input class="h_find_comInput input_valid" type="text"
						id="nickname" /></td>
				</tr>
				<tr>
					<td class="PI_text">用户名：</td>
					<td><input class="h_find_comInput input_valid" type="text"
						id="username" /></td>
				</tr>
				<tr>
					<td class="PI_text">性别：</td>
					<td><select class="h_find_comInput input_valid" id="sex">
							<option value="">请选择</option>
							<option value="M">男</option>
							<option value="F">女</option>
					</select></td>
				</tr>
				<tr>
					<td class="PI_text">生日：</td>
					<td id="searchBirthday"><select id="year" class="input_valid"></select>
						<select id="month" class="input_valid"></select> <select id="day"
						class="input_valid"></select> <script type="text/javascript">
							yearMonthDay($("#searchBirthday"));
						</script></td>

				</tr>
				<tr>
					<td class="PI_text">现居地：</td>
					<td><select class="input_valid" name="province" id="province">
					</select> <select class="input_valid" name="city" id="city">
							<option value="">请选择</option>
					</select> <select class="input_valid" name="district" id="district">
							<option value="">请选择</option>
					</select></td>
				</tr>
				<tr>
					<td class="PI_text">家乡：</td>
					<td><select class="input_valid" name="birthPro" id="birthPro">
					</select> <select class="input_valid" name="birthCity" id="birthCity">
							<option value="">请选择</option>
					</select> <select class="input_valid" name="birthDic" id="birthDic">
							<option value="">请选择</option>
					</select></td>
				</tr>

				<tr>
					<td class="PI_text">宝宝姓名：</td>
					<td><input class="h_find_comInput input_valid" type="text"
						id="babyName" /></td>
				</tr>

				<tr>
					<td></td>
					<td><label class="error" style="display: none;"
						id="error_list_two">至少输入两项</label>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<div class="h_button ml10" onclick="searchFriendXX();">
							<strong>查 找</strong>
						</div></td>
				</tr>


			</table>
		</div>
	</div>

</div>
